Skip to contentSkip to conversation

Revert "cpan.bbclass: adopt to recent EU::MM"

PATCH In review Khem Raj 3 participants 4 messages Aug 24, 2018 – Aug 28, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 Revert "cpan.bbclass: adopt to recent EU::MM"

This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.

---
 meta/classes/cpan.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/cpan.bbclass +2 -1
index 926c6358a6..8e079e0d55 100644
@@ -16,7 +16,8 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
 export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
 
 cpan_do_configure () {
-	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
+	export PERL5LIB="${PERL_ARCHLIB}"
+	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}
 
 	# Makefile.PLs can exit with success without generating a
 	# Makefile, e.g. in cases of missing configure time
Signature · 1 line
2.18.0
#1 lore raw
Quoted 26 lines

Am 24.08.2018 um 10:07 schrieb Khem Raj <[email protected]>:

This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
---
meta/classes/cpan.bbclass | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/cpan.bbclass +0 -0
index 926c6358a6..8e079e0d55 100644
@@ -16,7 +16,8 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version

export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"

cpan_do_configure () {

meta/classes/cpan.bbclass +2 -1
-	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
+	export PERL5LIB="${PERL_ARCHLIB}"
+	yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}

# Makefile.PLs can exit with success without generating a # Makefile, e.g. in cases of missing configure time
--
2.18.0

Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

This one shouldn't get tested together with
2387c0d3 cpan.bbclass: make RPATH fix more general
since the hacked PERL5LIB="${PERL_ARCHLIB}" hides the broken RPATH behavior.
--
Jens Rehsack - [email protected]

author
#2 lore raw
Quoted 37 lines · Jens Rehsack

Am 24.08.2018 um 10:07 schrieb Khem Raj <[email protected]>:

This reverts commit 2e61533e7c1b1cfd49dc771e907207f11a15c44f.
---
meta/classes/cpan.bbclass | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/cpan.bbclass +0 -0
index 926c6358a6..8e079e0d55 100644
@@ -16,7 +16,8 @@ export PERL_ARCHLIB =

"${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"

cpan_do_configure () {
- yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 ${EXTRA_CPANFLAGS}
+ export PERL5LIB="${PERL_ARCHLIB}"
+ yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL INSTALLDIRS=vendor ${EXTRA_CPANFLAGS}

# Makefile.PLs can exit with success without generating a # Makefile, e.g. in cases of missing configure time --
2.18.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Quoted 5 lines

This one shouldn't get tested together with
2387c0d3 cpan.bbclass: make RPATH fix more general
since the hacked PERL5LIB="${PERL_ARCHLIB}" hides the broken RPATH behavior.

Yes it won’t this was actsully meant for master-next only

Quoted 4 lines

--
Jens Rehsack - [email protected]

#3 lore raw

Hi Khem,

I put the alternative fix into master as it passed OE-Core testing. Could you see how the perl failures are looking in meta-oe now please?

Cheers,

Richard